The following example shows the pilotedControlListSelector object:
<pilotedControlListSelector name="PilotedListSelector1" height="107" width="130" left="13" top="124" visible="true" wallpaper="false" isReferenceObject="false" backColor="#00FFD8" borderStyle="raisedInset" borderUsesBackColor="false" borderWidth="8" selectionForeColor="#E0E0E0" selectionBackColor="red" description="" borderColor="navy" patternColor="white" patternStyle="none" keyNavigation="true" blink="false" wrapAround="true" writeOnEnter="true" enterKeyControlDelay="400" enterKeyHandshakeTime="4" enterKeyHoldTime="250" handshakeReset="nonZeroValue" fontFamily="Arial" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" captionTruncate="word" setLastStateId="5">
<states>
<state stateId="0" value="0" access="operatorAndRemote">
<caption caption="/*S:0 system\Minute*/Piloted State 0" color="purple" backColor="#FFC0FF" backStyle="solid" alignment="left" blink="false" />
</state>
<state stateId="1" value="1" access="operator">
<caption caption="/*N:5 system\Second NOFILL DP:0*/Piloted State 1" color="#008C00" backColor="#80FF80" backStyle="solid" alignment="left" blink="false" />
</state>
<state stateId="2" value="2" access="remote">
<caption caption="/*SDT*/Piloted State 2" color="black" backColor="#E0E0E0" backStyle="solid" alignment="left" blink="false" />
</state>
<state stateId="3" value="3" access="none">
<caption caption="Piloted State 3" color="#404000" backColor="#C0C000" backStyle="solid" alignment="left" blink="false" />
</state>
<state stateId="4" value="4" access="operatorAndRemote">
<caption caption="Piloted State 4" color="#000058" backColor="#00FFD8" backStyle="solid" alignment="left" blink="false" />
</state>
</states>
<animations>
<animateVisibility expression="TestTag4" expressionTrueState="visible" />
</animations>
<connections>
<connection name="Value" expression="TagS2" />
<connection name="Indicator" expression="If TestS2 > 20 Then 1 Else 0" />
<connection name="Remote Access" expression="If system\Hour < 20 Then 0 Else 1" />
<connection name="Top Position" expression="TestS2" />
<connection name="Visible States" expression="TestTag4" />
<connection name="Enter" expression="n7" />
<connection name="Enter Handshake" expression="TestTag7" />
</connections>
</pilotedControlListSelector>